import {http} from "@/interceptor/luch-request/index.js"
// 新增意见薄
export const save = (data) => {
    return http.post("api/admin/opinionThin/v1/save", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}
export const opinionThininfo = (id) => {
	return http.get("api/admin/opinionThin/v1/info/" + id, {
		header: {
			"content-type": "application/json",
		}
	});
}
// 意见薄列表
export const listTable = (data) => {
	return http.get("api/admin/opinionThin/v1/listTable", {
		data: data
	});
}

// 删除意见薄
export const del = (id) => {
    return http.delete("api/admin/opinionThin/v1/delete/" + id,{
        header: {
            "content-type": "application/x-www-form-urlencoded",
        }
    });
}

// 意见薄详情
export const infoId = (id) => {
    return http.delete("api/admin/opinionThin/v1/info/" + id,{
        header: {
            "content-type": "application/x-www-form-urlencoded",
        }
    });
}

